VistaDB 6
VistaDB.Web Namespace / VistaDBProfileProvider Class / DeleteProfiles Method / DeleteProfiles(String[]) Method
A string array of user names for profiles to be deleted.


In This Topic
    DeleteProfiles(String[]) Method
    In This Topic
    When overridden in a derived class, deletes profile properties and information for profiles that match the supplied list of user names.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides NotOverridable Function DeleteProfiles( _
       ByVal usernames() As System.String _
    ) As System.Integer
    'Usage
     
    
    Dim instance As VistaDBProfileProvider
    Dim usernames() As System.String
    Dim value As System.Integer
     
    value = instance.DeleteProfiles(usernames)
    public override System.int DeleteProfiles( 
       System.string[] usernames
    )

    Parameters

    usernames
    A string array of user names for profiles to be deleted.

    Return Value

    The number of profiles deleted from the data source.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also